import request from '@/utils/request'

// 查询检查单列表
export function listCheck(query) {
  return request({
    url: '/business/check/list',
    method: 'get',
    params: query
  })
}

// 删除检查单
export function delCheck(id) {
  return request({
    url: '/business/check/' + id,
    method: 'delete'
  })
}

// 导出检查单
export function exportCheck(query) {
  return request({
    url: '/business/check/export',
    method: 'get',
    params: query
  })
}
